<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>会员中心 - ${title}</title> 
        <#include "/front/head.html"/>
		<link type="text/css" rel="stylesheet" href="/res/front/css/sytle/user-css/user_message.css" />
        <script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
		<script src="../../../res/front/formValidator/jquery-1.4.4.min.js" type="text/javascript"></script>
        <script src="../../../res/front/formValidator/formValidator-4.1.3.js" type="text/javascript" charset="UTF-8"></script>
        <script src="../../../res/front/formValidator/formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>
        <script language="javascript" src="../../../res/front/formValidator/DateTimeMask.js" type="text/javascript"></script>
        <script language="javascript" src="../../../res/front/formValidator/themes/ArrowSolidBox/js/theme.js" type="text/javascript"></script>
        <link type="text/css" rel="stylesheet" href="../../../res/front/formValidator/themes/ArrowSolidBox/style/style_new.css" />
        <link type="text/css" rel="stylesheet" href="../../../res/front/formValidator/themes/ArrowSolidBox/style/style.css" />
        <script type="text/javascript">
			$(document).ready(function(){
				$.formValidator.initConfig({formID:"form1",onError:function(){alert("校验没有通过，具体错误请看错误提示")}});
				$("#bank").formValidator({onFocus:"请输入银行名称"})
				     .inputValidator({min:1,max:50,empty:{leftEmpty:false,rightEmpty:false,emptyError:"两边不能有空符号"},onError:"输入错误"});
				$("#username").formValidator({onFocus:"请输入开户名"})
				     .inputValidator({min:1,max:50,empty:{leftEmpty:false,rightEmpty:false,emptyError:"两边不能有空符号"},onError:"输入错误"});
				$("#bankname").formValidator({onFocus:"请输入开户行"})
				     .inputValidator({min:1,max:50,empty:{leftEmpty:false,rightEmpty:false,emptyError:"两边不能有空符号"},onError:"输入错误"});
				$("#banknameaddr").formValidator({onFocus:"请输入开户行所在地"})
				     .inputValidator({min:1,max:50,empty:{leftEmpty:false,rightEmpty:false,emptyError:"两边不能有空符号"},onError:"输入错误"});
				$("#bankcard").formValidator({onFocus:"请输入银行卡号"})
				     .inputValidator({min:1,max:50,empty:{leftEmpty:false,rightEmpty:false,emptyError:"两边不能有空符号"},onError:"输入错误"});
				$("#iswithdraw").formValidator({onFocus:"请选择是否默认提现银行卡",defaultValue:["2"]})
					.inputValidator({min:1,max:1,onError:"请选择"});
					
				$('.butt').hover(function(){
					$(this).addClass("edit_inp2");
				},function(){
					$(this).removeClass("edit_inp2");
				});
			});
		</script>

	</head>
<!---------- 编辑银行信息\ROOT\WEB-INF\front\member\cardInfoEdit.html ---------->
	<body>
    	<!-- 头部 header.html -->
    	<#include "/front/common/header.html"/>
        <!-- 中部 -->
        <div class="memeber_middle">
        	<div class="member_location_div">
                <span>
                    <b><a href="/index.jspx">首页</a></b>&nbsp;>
                    <b>资金管理</b>&nbsp;>
                    <b>银行卡信息</b>&nbsp;>
                    <b>编辑银行卡信息</b>
                </span>
            </div>
        	<div class="memeber_centre">
                <!-- 左边目录 -->
                <div class="memeber_left_nav_div">
                    <#include "会员中心页_导航.html"/>
                </div>
                <!-- 右边目录明细 -->
                <div class="member_right_detail_div">
                	<div class="edit_bank_div">
                    	<div class="edit_bank_title_header"><b>编辑信息</b></div>
                        <div class="edit_bank_div_form">
                        	<form action="${base}/member/o_tmemberbankcardSave.jspx" id="form1" method="post">
								<input type="hidden" name="mbcid" value="${mbcid!!}"/>
                                <table border="0" cellpadding="5" cellspacing="0">
                                    <tr>
                                        <td width="160" align="right"><span style="color:#F00">*&nbsp;</span>银行名称</td>
                                        <td><input type="text" id="bank" name="bank" value="${bank!!}"/></td>
                                        <td id="bankTip" width="295"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><span style="color:#F00">*&nbsp;</span>开户名</td>
                                        <td><input type="text" id="username" name="username" value="${username!!}"/></td>
                                        <td id="usernameTip"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><span style="color:#F00">*&nbsp;</span>开户行</td>
                                        <td><input type="text" id="bankname" name="bankname" value="${bankname!!}"/></td>
                                        <td id="banknameTip"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><span style="color:#F00">*&nbsp;</span>开户行所在地</td>
                                        <td><input type="text" id="banknameaddr" name="banknameaddr" value="${banknameaddr!!}"/></td>
                                        <td id="banknameaddrTip"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><span style="color:#F00">*&nbsp;</span>银行卡号</td>
                                        <td><input type="text" id="bankcard" name="bankcard" value="${bankcard!!}"/></td>
                                        <td id="bankcardTip"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><span style="color:#F00">*&nbsp;</span>是否默认提现银行卡</td>
                                        <td>
                                            <#list iswithdrawMap?keys as idKey>
                                                <input type="radio" id="iswithdraw" name="iswithdraw" value="${idKey}" <#if idKey==iswithdraw!?string> checked</#if>/>
                                                ${iswithdrawMap[idKey]} 
                                            </#list>
                                        </td>
                                        <td id="iswithdrawTip"></td>
                                    </tr>
                                    <tr>
                                        <td height="45" colspan="3">
                                        	<input type="submit" class="edit_sub_inp butt" value="保存"/>
                                        	<input type="button" class="edit_butt_inp butt" name="Submit" onclick="javascript:history.back(-1);" value="返回">
                                        </td>
                                    </tr>
                                </table>
                        	</form>
                        </div>
                    </div>
                </div>
            	<div style="clear:both;"></div>
            </div>
        </div>
		<!-- 底部 -->
		<#include "/front/common/footer.html"/>
	</body>
</html>
